home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Laboratorio Interattivo Deagostini
/
laboratorio interattivo deagostini.bin
/
swf
/
21001.swf
/
scripts
/
frame_1
/
PlaceObject2_38_1
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2002-12-18
|
453b
|
21 lines
onClipEvent(enterFrame){
Ycur2 = this.barratot.barra.scroll._y;
offset = (Ycur2 - Ycur1) * rapporto;
Yclip2 = Yclip1 - offset;
this.esercizio._y = Yclip2;
if(vaisu == true)
{
if(hScroll < Ycur2)
{
this.barratot.barra.scroll._y = Ycur2 - 5;
}
}
if(vaigiu == true)
{
if(Ycur2 < hBarra - hScroll * 2)
{
this.barratot.barra.scroll._y = Ycur2 + 5;
}
}
}